.profile__name {
    font-weight: 500;
    font-size: 27px;
    line-height: 33px;
    margin: 0;
    padding-left: calc(10px + 18px);
    text-rendering: optimizeLegibility;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(282px - 28px - 28px); 
}

@media (min-width: 1024px) {
    .profile__name {
        font-size: 42px;
        line-height: 48px;
        padding-left: 0;
        max-width: 500px; 
    }
}